//
//  NavigatonBarView.h
//  TsinghuaSNS
//  自定义导航栏
//  Created by zhoubl on 13-6-9.
//  Copyright (c) 2013年 cdeledu. All rights reserved.
//

@protocol NavigatonBarViewDelegate <NSObject>
@optional
- (void)leftButtonClick;                    //左按钮点击事件
- (void)rightButtonClick;                   //右按钮点击事件
- (void)setShowLeftDrawerViewController;    //显示抽屉
@end

@interface NavigatonBarView : UIView

@property (nonatomic,assign) id<NavigatonBarViewDelegate>delegate;

//标题
@property (nonatomic,retain) NSString *titleText;

//设置标题
-(void)setTitle:(NSString *)text;

//设置只有图片的左按钮
-(void)setLeftButton:(NSString*)NormalName HighlightedImage:(NSString*)HighlightedName;

//设置左按钮
-(void)setLeftButton:(NSString*)title NormalImage:(NSString*)NormalName HighlightedImage:(NSString*)HighlightedName;

//设置右按钮
-(void)setRightButton:(NSString*)title NormalImage:(NSString*)NormalName HighlightedImage:(NSString*)HighlightedName;

//设置默认的左边按钮
-(void)setNormalLeftButton;

//设置默认的左边菜单按钮
-(void)setNormalLeftMenuButton;

//设置默认的右边按钮
-(void)setNormalRightButton;

@end
